package com.bwie.service;

import com.bwie.pojo.TbProd;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.pojo.TbProdAtta;
import com.bwie.pojo.TbProdInfo;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【tb_prod(商品表)】的数据库操作Service
* @createDate 2025-07-19 08:43:08
*/
public interface TbProdService extends IService<TbProd> {

    R getProdList(PageInfoVo pageInfoVo);

    R deleteBatch(List<Integer> ids);

    R deleteProd(Integer prodId);

    R getTypeInfo();

    R getDictList(Integer typeId);

    R addProd(TbProd tbProd);

    R addProdAtta(TbProdAtta tbProdAtta);

    R getProdInfoList();

    R getProdInfoPage(PageInfoVo pageInfoVo);

    R addProdInfo(TbProdInfo tbProdInfo);
}
